import { MockAjax } from "@/mockApi/MockAjax";
// import { customAlphabet } from "nanoid";

const barTable = [
  {
    xAxis: {
      data: ["小区1", "小区2", "小区3", "小区4", "小区5", "Sat", "Sun"],
    },
    yAxis: {
      data: [120, 200, 150, 80, 70, 110, 130],
    },
  },
];

export const barData = new MockAjax("/api/bar-table");

barData.initTable(barTable);
